package org.dtrd.modules.evaluation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.evaluation.entity.bean.CdmsesDetail;
import org.dtrd.modules.evaluation.entity.bean.CdmsesListInfo;
import org.dtrd.modules.evaluation.entity.po.DtrdEntEvaluationRdCdmses;
import org.dtrd.modules.evaluation.entity.request.CdmsesListRequest;

import java.util.List;

/**
 * <p>
 * 自我管理效能（C-DMSES）服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-15
 */
public interface IDtrdEntEvaluationRdCdmsesService extends IService<DtrdEntEvaluationRdCdmses> {

    List<CdmsesListInfo> getCdmsesList(CdmsesListRequest request);

    CdmsesDetail getCdmsesLatest(Integer patientId);

    CdmsesDetail saveOrUpdateCdmses(CdmsesDetail dto);

    boolean removeCdmses(Integer dataId);
}
